package com.hc.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 区
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CountryDTO implements Serializable {
    private static final long serialVersionUID = -4048357141441940464L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 乡镇名
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "乡镇名")
    private String name;
}
